package com.tjnu.losca.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tjnu.losca.pojo.Grade;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 班级 服务类
 * </p>
 *
 * @author losca
 * @since 2021-10-05
 */
public interface IGradeService extends IService<Grade> {
    boolean check(Integer id, String value);

    IPage getDataByName(int pageNum, int pageSize, String name);

    boolean del(Integer id);

    boolean recovery(Integer id);

    IPage getDetails(Integer pageNum,Integer pageSize,Integer id);
}
